<!-- 查询 content -->
{{ $contentSQL := "* FROM content WHERE id=? order by sortNo desc" }}

{{$contentID := printf "/single/%s" (lastURI .UrlPathParam) }}

{{ $content := selectOne "content" $contentSQL $contentID }}

<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <title>{{ $content.Title }}</title>
  <meta name="description" content="{{ $content.Description }}" />
  <meta name="keyword" content="{{ $content.Keyword }}" />

{{template "bodystart.html"  }}

		
<main id="main" class="site-main">
<article class="{{ $content.Id }} post type-post status-publish format-standard hentry category-uncategorized ast-article-single" id="{{ $content.Id }}" itemtype="https://schema.org/CreativeWork" itemscope="itemscope">
	
<div class="ast-post-format- ast-no-thumb single-layout-1">
	
		<header class="entry-header ">
			<h1 class="entry-title" itemprop="headline">{{ $content.Title }}</h1>
		</header><!-- .entry-header -->

	
	
	<div class="entry-content clear" itemprop="text">

		
		{{ safeHTML $content.Content }}

		
		
	</div><!-- .entry-content .clear -->
</div>

	
</article><!-- #post-## -->


		</main><!-- #main -->
			
		
{{template "bodyend.html" }}